package com.markerhub.service.impl;

import com.markerhub.entity.Discussion;
import com.markerhub.mapper.DiscussionMapper;
import com.markerhub.service.DiscussionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2022-11-21
 */
@Service
public class DiscussionServiceImpl extends ServiceImpl<DiscussionMapper, Discussion> implements DiscussionService {

    @Autowired
    private DiscussionMapper discussion1;

    @Override
    public int delete(int id) {
        return discussion1.delete(id);
    }
}
